package nl.altenpts.net.kad;

import java.util.Comparator;

public class LastSeenComparator implements Comparator<Node> {

	public int compare(Node object1, Node object2) {
		long lastseen1 = object1.getLastSeen();
		long lastseen2 = object2.getLastSeen();
							
		return Long.signum(lastseen2 - lastseen1);								
	}	
}
